package com.sc.nft.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.DaoEcologyPointsTransferRecords;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.vo.PageDaoPointsTransferRecordsVO;
import com.sc.nft.entity.vo.salvageEvents.PageDaoEcologyPointsTransferRecordsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * 生态-DAO转账燃料记录表(sc_dao_ecology_points_transfer_records)数据Mapper
 *
 * @author Sun
 * @since 2023-12-12 10:43:41
 * @description 由 Mybatisplus Code Generator 创建
*/
@Mapper
public interface DaoEcologyPointsTransferRecordsMapper extends BaseMapper<DaoEcologyPointsTransferRecords> {

    /**
     * 分页查询生态-DAO转账燃料记录表(sc_dao_ecology_points_transfer_records)数据
     * @param page
     * @param daoId
     * @param toUserTel
     * @param startTime
     * @param endTime
     * @return
     */
    Page<PageDaoEcologyPointsTransferRecordsVO> getPageDaoEcologyPointsTransferRecords(Page page, @Param("daoId") Long daoId,@Param("toUserTel") String toUserTel, @Param("startTime")Date startTime, @Param("endTime")Date endTime);

    Page<PageDaoPointsTransferRecordsVO> getPageDaoPointsTransferRecords(Page page, @Param("daoId") Long daoId,@Param("toUserTel") String toUserTel, @Param("startTime")Date startTime, @Param("endTime")Date endTime);
}
